<?php
$this->pageTitle = Lang::t('user.recovery.page.breadcrumbs');
$this->breadcrumbs[] = Lang::t('user.recovery.page.breadcrumbs');
?>
<div class="form">
    <?php $form = $this->beginWidget('ActiveForm', $formConfig); ?>

    <h1><?php echo Lang::t('user.recovery.page.title'); ?></h1>
    <span class="help-block"><?php echo Lang::t('user.recovery.form.note'); ?></span>

    <?php
    echo $form->alert($model, array(
        'errorMessageHtmlOptions' => array('class' => 'alert alert-danger'),
        'flashHtmlOptions' => array('class' => 'alert alert-'),
    ));
    ?>

    <div class="form-group">
        <?php echo $form->labelEx($model, 'email_', array('class' => 'col-sm-3 control-label')); ?>
        <div class="col-sm-6">
            <?php echo $form->textField($model, 'email_', array('class' => 'form-control')); ?>
        </div>
        <?php //echo $form->error($model,'email_');  ?>
    </div>
    <div class="form-group">
        <div class="row">
            <?php $form->captchaImage(); ?>
        </div>
        <?php echo $form->labelEx($model, 'captcha_', array('class' => 'col-sm-3 control-label')); ?>
        <div class="col-sm-6">
            <?php echo $form->textField($model, 'captcha_', array('class' => 'form-control')); ?>
        </div>
        <?php //echo $form->error($model,'captcha_');  ?>
    </div>

    <div class="form-group">
        <div class="col-sm-6 col-sm-offset-3">
        <button type="submit" class="btn btn-default" /><?php echo Lang::t('user.recovery.btn.submit'); ?></button>
        </div>
    </div>
    <?php $this->endWidget(); ?>
</div><!-- form -->